Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-259182 | VCPG-80-000075 | SV-259182r961443_rule | Medium |
Description |
---|
If time stamps are not consistently applied and there is no common time reference, it is difficult to perform forensic analysis. Time stamps generated by PostgreSQL must include date and time. Time is commonly expressed in UTC, a modern continuation of Greenwich Mean Time (GMT), or local time with an offset from UTC. |
STIG | Date |
---|---|
VMware vSphere 8.0 vCenter Appliance PostgreSQL Security Technical Implementation Guide | 2024-07-11 |
Check Text ( C-62922r935448_chk ) |
---|
At the command prompt, run the following command: # /opt/vmware/vpostgres/current/bin/psql -U postgres -A -t -c "SHOW log_timezone;" Expected result: UTC If the output does not match the expected result, this is a finding. |
Fix Text (F-62831r935449_fix) |
---|
A script is included with vCenter to generate a PostgreSQL STIG configuration. At the command prompt, run the following commands: # chmod +x /opt/vmware/vpostgres/current/bin/vmw_vpg_config/vmw_vpg_config.py # /opt/vmware/vpostgres/current/bin/vmw_vpg_config/vmw_vpg_config.py --action stig_enable --pg-data-dir /storage/db/vpostgres # chmod -x /opt/vmware/vpostgres/current/bin/vmw_vpg_config/vmw_vpg_config.py Restart the PostgreSQL service by running the following command: # vmon-cli --restart vmware-vpostgres |